

This stationary contains two targets
-Regular StandAlone
-StandAlone with Embedded VM

Each target is aimed at a different purpose.  The plain StandAlone is
intended for an end-user who has a Java VM installed on their machine; the
embedded VM flavor is intended for machines that may not have a VM.  The
primary reason to prefer the plain version is size: with an embedded VM and
strong linked class libraries, the second version may be quite large.

Please note: choosing 'Run' from the IDE will not run the StandAlone
application--it will run your Java code in Metrowerks Java.  This is
intentional; coding and debugging should be done with MW Java, then should
be wrapped into the StandAlone for your final build.


Usage of the Regular StandAlone
```````````````````````````````
Java Target type should be 'Application', with the Main Class set to the
appropriate entry point.  The VM should be set to your preference (more later).

Linker Output type should be 'Application', file type should be 'APPL', and creator
should be set to your preference (keeping in mind, of course, conflicts with
other applications).  Instead, if you set your creator to 'JDrp', you'll get a
nifty Java-themed icon.

If the VM chosen is 'Metrowerks' or 'Metrowerks - JIT', the resulting StandAlone
will expect to find its VM and class library in one of several places:
-'Metrowerks VM' in the same folder as the StandAlone, a folder 'Classes' in the same
	folder, and classes.zip in that folder.
-'Metrowerks VM' in the extensions folder, a folder 'Classes' in the same folder, and
	classes.zip in that folder.  Optionally, these can sit in the same relative
	locations, but in a subfolder of the extensions folder.
-'MSIE/MW Java VM' in the 'MS Library' folder in the Extensions folder, a folder
	'Classes' in the same folder, and classes.zip in that folder.  This scenario
	is installed with MS Internet Explorer v3.0 or better.
	
If the VM chosen is 'MRJ', the StandAlone will expect to find 'MRJLib' in the
	'MRJ Libraries' folder in the Extensions folder.  MRJLib will expect to find
	'MRJClasses.zip' in the MRJClasses folder in MRJ Libraries--this is the
	location that Apple installs these components.
	
Usage of the StandAlone with Embedded VM
````````````````````````````````````````
Settings are exactly the same as the regular StandAlone, with four caveats:
-'MW Java StandAlone VM.lib' should be linked in instead of 'MW Java StandAlone.lib'

-The VM option (in the Java Target panel) is ignored; the only embedded VM choice
	is 'Metrowerks - JIT'.
	
-The StandAlone is PowerPC only.
	
-Your class libraries (classes.zip &c.) should be strong-linked in.  If they are not
	strong-linked, the resulting StandAlone will expect to find them in your search
	paths, which defeats the purpose of encapsulating the application in one file.

Michael C. Stricklin
Java Tools Group
Metrowerks, Corp.
October, 97